siso_transfer_function Function

public function siso_transfer_function(win, x, y, etype, nfft) result(rst)

Estimates the transfer function for a single-input/single-output (SISO) system.

Arguments

Type IntentOptional Attributes Name
class(window), intent(in) :: win

The window object.

real(kind=real64), intent(in) :: x(:)

An N-element array containing the input signal.

real(kind=real64), intent(in) :: y(:)

An N-element array containing the output signal.

integer(kind=int32), intent(in), optional :: etype

An optional input that, if supplied, denotes the estimator to use. If no value is specified, an H1 estimator is used. The following options are supported.

  • SPCTRM_H1_ESTIMATOR: Uses an H1 estimate.

  • SPCTRM_H2_ESTIMATOR: Uses an H2 estimate.

If an unrecognized value is provided, the routine defaults to an H1 estimator.

integer(kind=int32), intent(in), optional :: nfft

An optional input that can be used to force the length of each individual DFT operation by padding any remaining space with zeros. If not supplied, the window size is used to determine the size of the DFT.

Return Value complex(kind=real64), allocatable, (:)

Returns the complex-valued transfer function estimate.